package com.tuanzi.loan.business.service.settlementsystem;

import com.tuanzi.loan.business.entity.family.ProductInfo;
import com.tuanzi.loan.business.entity.settlementsystem.SettlementIncome;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.settlementsystem.SettlementIncomeRequest;
import com.tuanzi.loan.vo.response.settlementsystem.SettlementIncomeResponse;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-08-20 13:53
 */
public interface SettlementIncomeService extends BaseAuditService<SettlementIncome,Long> {
    Page<SettlementIncomeResponse> list(PageSearcher<SettlementIncomeRequest> pageSearcher);

    void onSave(SettlementIncome settlementIncome, List<ProductInfo> activityList,List<Long> selectActivityIdList,Long onSeeCompanyId);

    List<SettlementIncome> findAllByBillId(Long billId);
}
